﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
 <ul>
 
<% foreach (var item in (List<JumJob.Models.Category>)(Model)) { %>
    <%int jobCount = item.getJobCount(); %>
     <%if(jobCount>0){ %>
     <li  ><a  class="nav" style="width:100%" href="<%:Url.Action("ListJobs","Category")+"/"+item.id %>"><%:item.name+"("+jobCount+")" %></a></li>
    <%} %>
<% } %>
</ul>

    


